export const sendMessage = (messageType: string, url: string, query: any) => {
  // 向父窗口发送消息并传递参数
  const message = {
    messageType,
    url,
    query,
  };

  window.parent.postMessage(message, "*");
};
